package com.chub.study.modules.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author : chub
 * @version : V1.0.0
 * @fileName : User.java
 * @description : TODO
 * @createTime : 2021-12-14 15:29
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class User {
    private Long id;
    private String name;
    private Integer age;

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
}
